package com.lcf.system.entity;

import com.lcf.framework.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 购买(MovieBuy)表实体类
 *
 * @author lcf
 * @since 2025-05-07 22:23:22
 */
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@Data
public class MovieBuy extends BaseModel<MovieBuy> {
    //用户id
    private Long userId;
    //电影id
    private Long movieId;

    public MovieBuy(long userId, long movieId) {
        this.userId = userId;
        this.movieId = movieId;
    }
}

